/* Structure for a course pile */
typedef struct {
    int maywrap;	/* OK to play King on Ace or Ace on King */
    int mayqueen;	/* OK to ply Queen on King */
    int id;		/* ID number of stack with current contents */
} CourseStack;

extern CourseStack *course;

void makeCourse(int maywrap, int mayqueen, Stack *deal);
void printCourse(FILE *f, Stack *stks);
int nOff(void);
void cleanCourse(void);
void gatherCourse(Stack *s, int empty);
int course_mayInsert(Stack *dst, Card *card, int len, Stack *src);
int courseid(int i);
